Probably the same Java would do it, automatic conversion of integer to string.
C# is almost certainly smart enough to see that you're defining a string, and converting the integer to its string representation.
In Java the followingyields a String with the value "1".Code:String x = "" + 1;